package com.simou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.simou.dto.DishDto;
import com.simou.entity.Dish;

public interface DishService extends IService<Dish> {

//    新增菜品，同时新增对应口味dishFlavor
    public void saveWithFlavor(DishDto dishDto);

//    查询id对应的dish+dishFlavor
    public DishDto getByIdWithFlavor(Long id);

//    修改对应的dish+dishFlavor
    public void updateByIdWithFlavor(DishDto dishDto);
}
